.main {
  width: 100%;
  height: 100%;
  background: #eaeaea;
}

.main .headimg {
  width: 100%;
  height: 450px;
  overflow: hidden;
  box-shadow: 0px 0px 20px 3px #999;
  z-index: 1;
}
.main .headimg img{
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.main .content {
  position: relative;
  top: -80px;
  width: 60%;
  height: auto;
  margin: 0 auto;
  background:#fff;
  z-index: 2;
  padding-top: 8px; 
  padding-bottom: 20px; 
  box-shadow: 1px 1px 14px -5px #585858;
  border-radius: 2px;
  overflow: hidden;
  min-height: 80px;
}

.main .content .pro-box{
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 400px;
  padding: 0 15px;
}

.main .content .pro-box .g-img{
  float: left;
  /* width: 50%; */
  height: 100%;
  box-shadow: 3px 0px 15px -6px #666;
  overflow: hidden;
  border-radius: 2px;
}
.main .content .pro-box .g-img img{
  width: 100%;
  max-width: 400px;
  max-height: 400px;
}

.main .content .pro-box .g-info{
  float: left;
  box-sizing: border-box;
  padding-left: 18px;
  width: calc(100% - 400px);
  height: 100%;
  color: #666;
}
.main .content .pro-box .g-info .g-name,
.main .content .pro-box .g-info .g-title,
.main .content .pro-box .g-info .g-price,
.main .content .pro-box .g-info .g-sign,
.main .content .pro-box .g-info .g-select{
  width: 100%;
}
.main .content .pro-box .g-info .g-key{
  letter-spacing: 8px;
}
.main .content .pro-box .g-info .g-name{
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 5px;
  font-weight: 700;
}
.main .content .pro-box .g-info .g-title{
  margin-bottom: 8px;
  color: #ff4949;
}
.main .content .pro-box .g-info .g-price,
.main .content .pro-box .g-info .g-sign,
.main .content .pro-box .g-info .g-select,
.main .content .pro-box .g-info .g-catedesc{
  box-sizing: border-box;
  padding: 0 8px;
}

.main .content .pro-box .g-info .g-price{
  height: 60px;
  line-height: 60px;
  margin-bottom: 10px;
}

.main .content .pro-box .g-info .g-price .price,
.main .content .pro-box .g-info .g-price i{
  font-size: 18px;
  color: #ff4f4f;
  font-weight: 700;
}


.main .content .pro-box .g-info .g-sign{
  height: 30px;
  line-height: 30px;
  background: #ececec;
  color: #b3aeae;
}
.main .content .pro-box .g-info .g-sign .g-cate{
  float: left;
}
.main .content .pro-box .g-info .g-sign .g-time{
  float: right;
}
.main .content .pro-box .g-info .g-catedesc{
  margin-top: 10px;
  font-size: 12px;
  color: #b5b5b5;
  cursor: pointer;
}
.main .content .pro-box .g-info .g-catedesc .g-toCate{
  transition: .15s ease;
}
.main .content .pro-box .g-info .g-catedesc .g-toCate:hover{
  color: #737373;
}

.main .content .pro-box .g-info .ghr{
  width: 100%;
  height: 1px;
  font-size: 0;
  background: #cecece;
  margin: 10px 0;
}

.main .content .pro-box .g-info .g-select{
  position: relative;
}
.main .content .pro-box .g-info .g-select .g-key{
  line-height: 60px;
  margin-right: 10px;
}
.main .content .pro-box .g-info .g-select .g-buynum{
  display: inline-block;
  position: absolute;
  width: 103px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}
.main .content .pro-box .g-info .g-select .g-buynum a{
  display: inline-block;
  position: absolute;
  top: 50%;
  margin-top: -15px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: #ededed;
  border: 1px solid #ccc;
  color: #cacaca;
}
.main .content .pro-box .g-info .g-select .g-buynum a.buy-add{
  left: 0;
}

.main .content .pro-box .g-info .g-select .g-buynum a.buy-reduce{
  right: 0;
}
.main .content .pro-box .g-info .g-select .g-buynum a.buy-reduce:hover{
  
}
.main .content .pro-box .g-info .g-select .g-buynum .buy-number{
  display: inline-block;
  position: absolute;
  left: 32px;
  top: 50%;
  margin-top: -15px;
  width: 40px;
  height: 30px;
  line-height: 30px;
  background: #fff;
  text-align: center;
  border-left: none;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  outline: none;
}

.main .content .pro-box .g-info .g-select .g-stock{
  position: relative;
  left: 112px;
  line-height: 60px;
  color: #c1c1c1;
}

.main .content .pro-box .g-info .g-action{
  width: 100%;
  height: 80px;
  line-height: 80px;
  margin-top: 15px;
}
.main .content .pro-box .g-info .g-action .btn-addToCart,
.main .content .pro-box .g-info .g-action .btn-buy{
  display: inline-block;
  border-radius: 4px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  transition: .15s ease;
}
.main .content .pro-box .g-info .g-action .btn-buy{
  width: 120px;
  background: #52b2ff;
  border: 1px solid #69a4d0;
  margin-right: 15px;
  color: #ffffff;
}
.main .content .pro-box .g-info .g-action .btn-buy:hover{
  background: #98caf3;
}
.main .content .pro-box .g-info .g-action .btn-addToCart{
  width: 150px;
  background: #e49448;
  color: #eaeaea;
  border: 1px solid #a28d7f;
}
.main .content .pro-box .g-info .g-action .btn-addToCart:hover{
  background: #f18a29;
}
.main .content .pro-box .g-info .g-action .btn-addToCart i{
  font-size: 18px;
  margin-right: 3px;
}
.main .content.pro-content {
  box-sizing: border-box;
  margin-top: 30px;
  min-height: 100px;
  padding: 20px 125px;
  /* padding-bottom: 30px; */
  text-align: center;
}
.main .content.pro-content .title{
  margin-bottom: 20px;
  color: #666;
}

.main .content.pro-content img {
  width: 100%;
  max-width: 750px;
  margin-bottom: 25px;
  /* box-shadow: 15px 0px 10px -15px #999; */
}

.main .content.pro-content .tips{
  width: 100%;
  line-height: 20px;
  margin-top: 8px;
  color: #d8d3d3;
  text-align: center;
}
.main .content.pro-content .tips a{
  color: #d8d3d3;
  transition: 0.15s ease;
}
.main .content.pro-content .tips a:hover{
  color: #666;
}
.main .content .copyTips {
  margin-top: 20px;
  color: #cacaca;
}

@media (max-width: 1630px) {
  .main .headimg {
    height: auto;
  }
  .main .content {
    width: 85%;
  }
}

@media (max-width: 900px) {
  .main .content .pro-box .g-img {
    position: relative;
    left: 50%;
    margin-left: -200px;
    margin-bottom: 8px;
  }

  .main .content .pro-box .g-info {
    width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 750px) {
  .main .content {
    width: 95%;
  }
}

@media (max-width: 450px) {
  .main .content .pro-box {
   padding: 8px; 
  }
  .main .content .pro-box .g-img {
    left: 0;
    margin-left: 0;
  }
  .main .content .pro-box .g-info .g-action .btn-buy {
    margin-right: 3px;
  }
  .main .content.pro-content {
    margin-top: 15px;
    padding: 8px;
  }
}

